import request from "@/api/index.js"

// 登录
export function postLoginApi(data) {
	return request({
		url: "/account/login",
		method: "post",
		data
	})
}

// 获取联系我们
export function getRelationApi() {
	return request({
		url: "/ideafeedback/contact",
		method: "get"
	})
}

// 获取用户文章、关注、粉丝数
export function getUserNumApi() {
	return request({
		url: "/user/num",
		method: "get"
	})
}
export function getUserInfo() {
	return request({
		url: "/account/userInfo",
		method: "get"
	})
}
